
<include file="header"/>
<css file="__PUBLIC__/index/css/index.css"/>
<script>
    var PUBLIC = "__PUBLIC__";
    var url = "__URL__";
    var app = "__APP__";
    var uid = "{$Think.session.uid}";
    var temp_h = document.body.clientHeight;
</script>
<js file="__PUBLIC__/index/js/index.js"/>
<js file="__PUBLIC__/index/js/commom.js"/>
<script>
    $(function(){
        $('.onl').hover(function(){
            $('.onl_close').show();
        },function(){
            $('.onl_close').hide();
        })
        $('.onl_close').click(function(){
            $(this).parent().parent().parent().css({
                opacity:0
            });
        })
        var gest = {
            num:5,
            url:'Index/ajax'
        }
        startwater(gest)
    })
</script>

<div class="middle">
    <div class="content">
        <div class="top">
            最新采集
            <ul class="con_link">
                <li class="cai">
                    <a href="#" class="caiji check">采集</a>
                </li>
                <li class="hua">
                    <a href="{:U('Index/huaban')}" class="huaban">画板</a>
                </li>
                <li class="tui">
                    <a href="#" class="tuijian">推荐用户</a>
                </li>
            </ul>
        </div>
        <!--瀑布流图片布局-->
        <div id="water">
            <div class="box">
                <div class="border">
                    <div class="pin onl">
                        <a href="javascript:;" class="onl_close"></a>
                        <img src="__PUBLIC__/index/images/0.png" />
                    </div>
                </div>
            </div>
            <volist name="img" id="n">
                <div class="box bimg">  
                    <a class="turn li"><span class="img"></span>转采</a>
                    <if condition="$n.uid eq $_SESSION['uid']">
                        <a class="li li1 editimg" href="{:U('Complete/editimg/id/'.$n['id'])}">
                            编辑
                        </a>
                        <else/>
                        <a class="li1 li good" name="{$n.id}">
                            <span class="img"></span><span class="good_num">{$n.num}</span>赞
                        </a> 
                    </if>
                    <div class="border">
                        <div class="good_mesa">
                            <span class="good_s"></span> 
                            <div>
                                <textarea class='comcont good_cont' placeholder='添加评论或把采集@给好友' autocomplete='off' style='background-color: rgb(255, 255, 255);'></textarea>
                                <a href='javascript:;' class='combtn com_btn' name="{$n.id}"></a>
                            </div>  
                        </div>
                        <div class="pin">
                            <a href="{:U('Complete/showimg/id/'.$n['id'])}"><img src="{$n.adres}" /></a>
                            <p>{$n.mesa}</p>
                        </div>
                        <div class="bottom">
                            <a href="{:U('Complete/showuser/uid/'.$n['uid'])}"><img src="{$n.thump}"></a>
                            <p><a href="{:U('Complete/showuser/uid/'.$n['uid'])}">{$n.uname}</a> 采集到 <a href="#">{$n.name}</a></p>
                            <a class="comment" href="javascript:;" name="{$n.id}" a="1"></a>
                        </div>
                        <taglib name="blog"/>
                        <blog:com mid="$n['id']">
                            <div class="bottom">
                                <a href="{:U('Complete/showuser/uid/'.$field['uid'])}"><img src="{$field.thump}"></a>
                                <p><a href="{:U('Complete/showuser/uid/'.$field['uid'])}">{$field.uname}</a> : {$field.content|mbsubstr=0,10}</p>
                                <a class="comment" href="javascript:;" a="1" name="{$field.mid}"></a>
                            </div>
                        </blog:com>
                    </div>
                </div>
            </volist>
        </div>
    </div>
</div>
</body>
</html>
